/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package minitestdrive.domain.customer;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *
 * @author emickelson
 */
@Entity
@Table (name = "CUSTOMER")
public class Customer implements Serializable {
    @Id
    @Column(name = "id")
    long id;
    
    @Column(name = "NAME")
    private String name;

    @Column(name = "PHONE")
    private String phone;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }


    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the phone
     */
    public String getPhone() {
        return phone;
    }

    /**
     * @param phone the phone to set
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }
}
